package com.dragon.modules.yuegou.mapper.coupon;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dragon.modules.yuegou.entity.coupon.MerchantCouponGrantEntity;
import com.dragon.modules.yuegou.model.coupon.MerchantCouponGrant;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * 商户优惠券发放（商户发放优惠券给会员） Mapper接口
 *
 * @author pbuilder generated
 * @date 2019-02-28 18:30:18
 * @version 2.0
 */
@Component("coupMerchantCouponGrantMapper")
public interface MerchantCouponGrantMapper extends BaseMapper<MerchantCouponGrantEntity> {

	/**
	 * 查询发放记录信息
	 * */
	IPage<MerchantCouponGrant> grantRecord(IPage<MerchantCouponGrant> page, @Param("merchantId") String merchantId);


	/**
	 * 查询发放记录信息
	 * */
	IPage<MerchantCouponGrant> yshAppgrantRecord(IPage<MerchantCouponGrant> page,@Param("merchantId") String merchantId);
	
	
	
	
}
